package mvp.com.bbc.rcjavaretrofitdaggermvp.mvp.activity;

import android.content.Intent;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;

import mvp.com.bbc.rcjavaretrofitdaggermvp.R;
import mvp.com.bbc.rcjavaretrofitdaggermvp.app.service.ShareService;
import mvp.com.bbc.rcjavaretrofitdaggermvp.baseAF.BaseActivity;
import mvp.com.bbc.rcjavaretrofitdaggermvp.baseAF.BaseRefreshActivity;

/**
 * Created by ${cbf} on 2017/12/2.
 */

public class TestAdapterActivity extends BaseActivity {

    private Intent intent;

    @Override
    protected int setContentLayout() {
        return R.layout.item_test_activity;
    }

    @Override
    protected void findViews() {

    }

    @Override
    protected void init() {
        String yyy = getIntent().getStringExtra("yyy");
        Log.v("cbf", "yyy=" + yyy);
        intent = new Intent(TestAdapterActivity.this, ShareService.class);
        intent.putExtra("test", "66666");
        startService(intent);

    }

    @Override
    protected void setListeners() {

    }

    @Override
    protected void onDestroy() {
        stopService(intent);
        super.onDestroy();
    }

    @Override
    public void onClick(View view) {

    }
}
